function mycallback(json) {
	var flag = 1;
	for (var i = 0; i < json.feed.entry.length; i++) {
		for (var j = 0; j < json.feed.entry[i].link.length; j++) {
			if (json.feed.entry[i].link[j].rel == 'alternate') {
				var postUrl = json.feed.entry[i].link[j].href;
				break;
			}
		}

		var postTitle = json.feed.entry[i].title.$t;
		var postAuthor = json.feed.entry[i].author[0].name.$t;
		var postSummary = json.feed.entry[i].summary.$t;
		var entryShort = postSummary.substring(0, 170);
		var entryEnd = entryShort.lastIndexOf(" ");
		var postContent = entryShort.substring(0, entryEnd) + '...';
		var imageThumb = json.feed.entry[i].media$thumbnail.url;

		var item00 = "<div class='item' style='margin:0px;overflow:hidden;'>";
		var item01 = "<div class='image'><img src='" + imageThumb + "' class='float' /></div>";
		var item02 = "<div class='text'><b><a href='" + postUrl + "'>" + postTitle + "</a></b></div>";
		var item03 = "<div class='text'>" + postContent + "</div>";
		var item04 = "</div><div style='clear: both;'></div>";
		
		var item = "";
		if (flag == 1) {
			 item = item00 + item01 + item02 + item03 + item04;
		} else {
			var item = item00 + item02 + item04;
		}
		
		flag++;
		document.write(item);
		
	}
}